package com.ants.modules.sensitiveWord.utils;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;

/**
 * TODO
 * Author Chen
 * Date   2022/8/31 14:44
 */
@ApiModel(description = "敏感词影响范围")
public enum SensitiveWordModeEnum {

    SHIELD("SHIELD", "屏蔽"),

    DST("DST", "脱敏"),

    WARN("WARN", "警告");

    @EnumValue
    @JsonValue
    private String code;
    private String name;

    SensitiveWordModeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

}
